package com.dm.core;

import com.dm.db.FetchDatabase;
import com.dm.db.mysql.FeignDataBaseMysql;
import com.dm.pojo.db.Database;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
public class GeneratePojo {

    @Resource
    private FetchDatabase feignDataBaseMysql;

    {
        System.out.println(feignDataBaseMysql.fetchDatabase(null));
    }

}
